<div class="page has-sidebar-left">
    <header class="blue accent-3 relative">
        <div class="container-fluid text-white">
            <div class="row p-t-b-10 ">
                <div class="col">
                    <h4>
                        <i class="icon-bullhorn"></i>
                        公告管理
                    </h4>
                </div>
            </div>
            <div class="row">
                <ul class="nav responsive-tab nav-material nav-material-white">
                    
                    
                    
                <li>
                        <a class="nav-link active" href="<?php echo url('notice/index'); ?>"><i class="icon icon-list"></i>公告列表</a>
                    </li><li>
                        <a class="nav-link" href="<?php echo url('notice/add_notice'); ?>"><i class="icon icon-plus-circle"></i> 添加</a>
                    </li><li>
                        <a class="nav-link" href="#"><i class="icon icon-trash-can"></i>Trash</a>
                    </li></ul>
            </div>
        </div>
    </header>
    <div class="container-fluid animatedParent animateOnce my-3">
        <div class="animated fadeInUpShort go">
            <div class="row">
                <div class="col-md-7">
                    <div class="card no-b shadow">
                        <div class="card-body p-0">
                            <div class="table-responsive">

                              
                              
                              
                              
                              
              <table class="table table-striped table-hover r-0">

                                        <tbody>

                              {volist name="list" id="vo"}                                     
                                          <tr>
                                            <td style=" width: 2px; ">
												  <small> {$vo.sort} </small>
                                            </td>

                                            <td >
                                                <div class="avatar-md mr-3 mt-1 float-left">
                                                   <img src="{$vo.picture}" >
                                                </div>
                                         
                                                        <small>{$vo.title}</small>
                                                
                                                    <small>{$vo.time|date="Y-m-d H:i:s",###}</small>
                                              
                                            </td>

                                    <!--        <td> <span class="r-3 badge badge-success ">  {$vo.type==1?'官方公告':($vo.type==2?'最新消息':'小编推荐')} </span></td>
                            -->
                                            <td class="float-right" >
                                            <a class="btn-fab btn-fab-sm btn-primary shadow text-white"><i class="icon-pencil"></i></a>
                                            <a class="btn-fab btn-fab-sm btn-Danger shadow text-white"><i class="icon-close2"></i></a>
                                            </td>
                                        </tr>
       
                          {/volist}       
                                        </tbody>
                                    </table>                
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                              
                            </div>
                        </div>
                    </div>
                </div>
              
                
  
						  <div class="col-md-5">
                                  <h3>设置帮助</h3>
                                  <hr>
                                  <p>You can pass plugin options using data-options attribute. Please make sure to use valid json
                                      code.</p>
                                  <a href="https://alex-d.github.io/Trumbowyg/documentation/" target="_blank" class="btn btn-xs btn-primary">Plugin Docs</a>
                                  <a href="https://jsonformatter.org/" target="_blank" class="btn btn-outline-primary btn-xs">JSON
                                      Formatter</a>
                                  <h4 class="mt-5">Code Example</h4>
                                  <hr>

                              </div>
              
            </div>
      <!--      <nav class="pt-3" aria-label="Page navigation">
                <ul class="pagination">
                    <li class="page-item"><a class="page-link" href="#">Previous</a>
                    </li>
                    <li class="page-item"><a class="page-link" href="#">1</a>
                    </li>
                    <li class="page-item"><a class="page-link" href="#">2</a>
                    </li>
                    <li class="page-item"><a class="page-link" href="#">3</a>
                    </li>
                    <li class="page-item"><a class="page-link" href="#">Next</a>
                    </li>
                </ul>
            </nav>-->
        </div>
    </div>
  
</div>





{if($code==1)}
<div class="col-md-6" id="alert" style="position:fixed;right:0px;bottom:0px;  width: 350px">
  <div class="alert alert-success">
      <button type="button" class="close" data-dismiss="alert">
          <span aria-hidden="true">×</span>
          <span class="sr-only">Close</span>
      </button>

      <strong>恭喜!</strong> <?php echo input('msg');?>
  </div>
</div>
{/if}